﻿using Business.Base;
using Business.Base.DB.DBRules;
using Business.Base.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.ScrewPump.Perf
{
    [Serializable]
    [DBTableAttribute("screwpump_perf_experimentrecord")]
    public class ScrewPumpPerfExperimentRecord: ExperimentRecord
    {

        
        string experiment;
        Double workFlow;
        Double presureIn;
        Double presureOut;
        Double presureTotal;
        Double electricCurrent;
        Double voltage;
        Double workingPower;
        Double workingSpeed;
        Double temperature;
        Double workingHead;
        Double stpFlow;
        Double stpHead;
        Double stpShaftPower;
        Double stpPowerIn;
        Double stpPumpEfficiency;
        Double stpGroupEfficiency;
        Double stpPresure;
        Double workingStaticHead;
        Double workingDynamicHead;
        Double workingGeoHead;
        Double workingFrictionHead;

      
        public string Experiment { get => experiment; set => experiment = value; }
        [DBFieldAttribute("presureTotal")]
        public double PresureTotal { get => presureTotal; set => presureTotal = value; }
        [DBFieldAttribute("workingHead")]
        public double WorkingHead { get => workingHead; set => workingHead = value; }
        [DBFieldAttribute("stpFlow")]
        public double StpFlow { get => stpFlow; set => stpFlow = value; }
        [DBFieldAttribute("stpHead")]
        public double StpHead { get => stpHead; set => stpHead = value; }
        [DBFieldAttribute("stpShaftPower")]
        public double StpShaftPower { get => stpShaftPower; set => stpShaftPower = value; }
        [DBFieldAttribute("stpPowerIn")]
        public double StpPowerIn { get => stpPowerIn; set => stpPowerIn = value; }
        [DBFieldAttribute("stpPumpEfficiency")]
        public double StpPumpEfficiency { get => stpPumpEfficiency; set => stpPumpEfficiency = value; }
        [DBFieldAttribute("stpGroupEfficiency")]
        public double StpGroupEfficiency { get => stpGroupEfficiency; set => stpGroupEfficiency = value; }
        [DBFieldAttribute("workingStaticHead")]
        public double WorkingStaticHead { get => workingStaticHead; set => workingStaticHead = value; }
        [DBFieldAttribute("workingDynamicHead")]
        public double WorkingDynamicHead { get => workingDynamicHead; set => workingDynamicHead = value; }
        [DBFieldAttribute("workingGeoHead")]
        public double WorkingGeoHead { get => workingGeoHead; set => workingGeoHead = value; }
        [DBFieldAttribute("workingFrictionHead")]
        public double WorkingFrictionHead { get => workingFrictionHead; set => workingFrictionHead = value; }
        [DBFieldAttribute("stpPresure")]
        public double StpPresure { get => stpPresure; set => stpPresure = value; }
    }
}
